package br.com.wai2008.socket.dataobject;

/**
 * This class represents the Network Data Object.
 * 
 * @since 
 * 		October, 2008.
 * 
 * @version
 * 		WAI2008 - version 1.0
 * 
 * @author 
 * 		Andre Romero Goncales
 */
public class WAINetworkObject {

	/**
	 * Network ID.
	 */
	private String id;

	/**
	 * Network signal.
	 */
	private double signal;
	
	/**
	 * Constructor.
	 */
	public WAINetworkObject() {
		
	}
	
	/**
	 * Constructor.
	 * 
	 * @param id
	 * 		Network's id;
	 * @param signal
	 * 		Network's signal
	 */
	public WAINetworkObject(String id, double signal) {
		this.id = id;
		this.signal = signal;
	}

	/**
	 * Get the Network ID.
	 * 
	 * @return
	 * 		network ID.
	 */
	public String getId() {
		return id;
	}

	/**
	 * Set the Network ID.
	 * 
	 * @param
	 * 		id the network ID.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * Get the Network Signal.
	 * 
	 * @return
	 * 		network Signal.
	 */
	public double getSignal() {
		return signal;
	}

	/**
	 * Set the Network Signal.
	 * 
	 * @param
	 * 		id the network Signal.
	 */
	public void setSignal(double signal) {
		this.signal = signal;
	}
}
